package com.fowo.api.ptt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fowo.api.ptt.enitty.PrintTemplateType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 打印模版类型 Mapper
 * @author yl_ls
 */
@Mapper
public interface PrintTemplateTypeMapper extends BaseMapper<PrintTemplateType> {
    List<PrintTemplateType> selectByGroupId(Long groupId);

    List<PrintTemplateType> selectVisibleByGroupIdAndUserId(@Param("groupId") Long groupId, @Param("userId") Long userId);
}
